package com.akuhome.resource.DO.report;

import java.sql.Timestamp;
//年报的每一项
public class MonthReportStatistic {
    Integer id;
    //部门名称
    String part;
    //项目数
    Integer project;
    //培训人数
    Integer people;
    Integer classroomUsage;
    Integer dormitoryUsage;
    Timestamp createTime;
    Integer yearReportId;

    public MonthReportStatistic() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPeople() {
        return people;
    }

    public void setPeople(Integer people) {
        this.people = people;
    }

    public Integer getClassroomUsage() {
        return classroomUsage;
    }

    public void setClassroomUsage(Integer classroomUsage) {
        this.classroomUsage = classroomUsage;
    }

    public Integer getDormitoryUsage() {
        return dormitoryUsage;
    }

    public void setDormitoryUsage(Integer dormitoryUsage) {
        this.dormitoryUsage = dormitoryUsage;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getYearReportId() {
        return yearReportId;
    }

    public void setYearReportId(Integer yearReportId) {
        this.yearReportId = yearReportId;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    public Integer getProject() {
        return project;
    }

    public void setProject(Integer project) {
        this.project = project;
    }

    public void addProject(Integer amount){
        this.project += amount;
    }
    public void addClassroomUsage(Integer amount){
        this.classroomUsage += amount;
    }
    public void addPeople(Integer amount){
        this.people += amount;
    }
    public void addDormitoryUse(Integer amount){
        this.dormitoryUsage += amount;
    }
}
